/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package mS;

import node1.AbstractTask;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Task</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link mS.Task#getSubTasks <em>Sub Tasks</em>}</li>
 *   <li>{@link mS.Task#getPrevious <em>Previous</em>}</li>
 *   <li>{@link mS.Task#getNext <em>Next</em>}</li>
 *   <li>{@link mS.Task#getId <em>Id</em>}</li>
 *   <li>{@link mS.Task#getPeriod <em>Period</em>}</li>
 *   <li>{@link mS.Task#getDeadline <em>Deadline</em>}</li>
 *   <li>{@link mS.Task#getReleaseTime <em>Release Time</em>}</li>
 *   <li>{@link mS.Task#getParent <em>Parent</em>}</li>
 * </ul>
 * </p>
 *
 * @see mS.MSPackage#getTask()
 * @model
 * @generated
 */
public interface Task extends AbstractTask {
	/**
	 * Returns the value of the '<em><b>Sub Tasks</b></em>' containment reference list.
	 * The list contents are of type {@link mS.SubTask}.
	 * It is bidirectional and its opposite is '{@link mS.SubTask#getTask <em>Task</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Sub Tasks</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Sub Tasks</em>' containment reference list.
	 * @see mS.MSPackage#getTask_SubTasks()
	 * @see mS.SubTask#getTask
	 * @model opposite="task" containment="true" required="true"
	 * @generated
	 */
	EList<SubTask> getSubTasks();

	/**
	 * Returns the value of the '<em><b>Previous</b></em>' reference list.
	 * The list contents are of type {@link mS.Task}.
	 * It is bidirectional and its opposite is '{@link mS.Task#getNext <em>Next</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Previous</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Previous</em>' reference list.
	 * @see mS.MSPackage#getTask_Previous()
	 * @see mS.Task#getNext
	 * @model opposite="next"
	 * @generated
	 */
	EList<Task> getPrevious();

	/**
	 * Returns the value of the '<em><b>Next</b></em>' reference list.
	 * The list contents are of type {@link mS.Task}.
	 * It is bidirectional and its opposite is '{@link mS.Task#getPrevious <em>Previous</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Next</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Next</em>' reference list.
	 * @see mS.MSPackage#getTask_Next()
	 * @see mS.Task#getPrevious
	 * @model opposite="previous"
	 * @generated
	 */
	EList<Task> getNext();

	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(String)
	 * @see mS.MSPackage#getTask_Id()
	 * @model required="true"
	 * @generated
	 */
	String getId();

	/**
	 * Sets the value of the '{@link mS.Task#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 * @generated
	 */
	void setId(String value);

	/**
	 * Returns the value of the '<em><b>Period</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Period</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Period</em>' attribute.
	 * @see #setPeriod(int)
	 * @see mS.MSPackage#getTask_Period()
	 * @model required="true"
	 * @generated
	 */
	int getPeriod();

	/**
	 * Sets the value of the '{@link mS.Task#getPeriod <em>Period</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Period</em>' attribute.
	 * @see #getPeriod()
	 * @generated
	 */
	void setPeriod(int value);

	/**
	 * Returns the value of the '<em><b>Deadline</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Deadline</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Deadline</em>' attribute.
	 * @see #setDeadline(int)
	 * @see mS.MSPackage#getTask_Deadline()
	 * @model required="true"
	 * @generated
	 */
	int getDeadline();

	/**
	 * Sets the value of the '{@link mS.Task#getDeadline <em>Deadline</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Deadline</em>' attribute.
	 * @see #getDeadline()
	 * @generated
	 */
	void setDeadline(int value);

	/**
	 * Returns the value of the '<em><b>Release Time</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Release Time</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Release Time</em>' attribute.
	 * @see #setReleaseTime(int)
	 * @see mS.MSPackage#getTask_ReleaseTime()
	 * @model required="true"
	 * @generated
	 */
	int getReleaseTime();

	/**
	 * Sets the value of the '{@link mS.Task#getReleaseTime <em>Release Time</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Release Time</em>' attribute.
	 * @see #getReleaseTime()
	 * @generated
	 */
	void setReleaseTime(int value);

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link mS.System#getTasks <em>Tasks</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' container reference.
	 * @see #setParent(mS.System)
	 * @see mS.MSPackage#getTask_Parent()
	 * @see mS.System#getTasks
	 * @model opposite="tasks" required="true" transient="false"
	 * @generated
	 */
	mS.System getParent();

	/**
	 * Sets the value of the '{@link mS.Task#getParent <em>Parent</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Parent</em>' container reference.
	 * @see #getParent()
	 * @generated
	 */
	void setParent(mS.System value);

} // Task
